Efficient Spatial Queries On Vanilla Databases